3.1.68 \(\int (\frac {x}{\sinh ^{\frac {3}{2}}(x)}-x \sqrt {\sinh (x)}) \, dx\) [68]

Optimal. Leaf size=20 \[ -\frac {2 x \cosh (x)}{\sqrt {\sinh (x)}}+4 \sqrt {\sinh (x)} \]

[Out]

-2*x*cosh(x)/sinh(x)^(1/2)+4*sinh(x)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {3396} \begin {gather*} 4 \sqrt {\sinh (x)}-\frac {2 x \cosh (x)}{\sqrt {\sinh (x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/Sinh[x]^(3/2) - x*Sqrt[Sinh[x]],x]

[Out]

(-2*x*Cosh[x])/Sqrt[Sinh[x]] + 4*Sqrt[Sinh[x]]

Rule 3396

Int[((c_.) + (d_.)*(x_))*((b_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[(c + d*x)*Cos[e + f*x]*((b*Si
n[e + f*x])^(n + 1)/(b*f*(n + 1))), x] + (Dist[(n + 2)/(b^2*(n + 1)), Int[(c + d*x)*(b*Sin[e + f*x])^(n + 2),
x], x] - Simp[d*((b*Sin[e + f*x])^(n + 2)/(b^2*f^2*(n + 1)*(n + 2))), x]) /; FreeQ[{b, c, d, e, f}, x] && LtQ[
n, -1] && NeQ[n, -2]

Rubi steps

\begin {align*} \int \left (\frac {x}{\sinh ^{\frac {3}{2}}(x)}-x \sqrt {\sinh (x)}\right ) \, dx &=\int \frac {x}{\sinh ^{\frac {3}{2}}(x)} \, dx-\int x \sqrt {\sinh (x)} \, dx\\ &=-\frac {2 x \cosh (x)}{\sqrt {\sinh (x)}}+4 \sqrt {\sinh (x)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.08, size = 17, normalized size = 0.85 \begin {gather*} \frac {-2 x \cosh (x)+4 \sinh (x)}{\sqrt {\sinh (x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/Sinh[x]^(3/2) - x*Sqrt[Sinh[x]],x]

[Out]

(-2*x*Cosh[x] + 4*Sinh[x])/Sqrt[Sinh[x]]

________________________________________________________________________________________

Maple [F]
time = 1.75, size = 0, normalized size = 0.00 \[\int \frac {x}{\sinh \left (x \right )^{\frac {3}{2}}}-x \left (\sqrt {\sinh }\left (x \right )\right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/sinh(x)^(3/2)-x*sinh(x)^(1/2),x)

[Out]

int(x/sinh(x)^(3/2)-x*sinh(x)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sinh(x)^(3/2)-x*sinh(x)^(1/2),x, algorithm="maxima")

[Out]

integrate(-x*sqrt(sinh(x)) + x/sinh(x)^(3/2), x)

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sinh(x)^(3/2)-x*sinh(x)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \left (- \frac {x}{\sinh ^{\frac {3}{2}}{\left (x \right )}}\right )\, dx - \int x \sqrt {\sinh {\left (x \right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sinh(x)**(3/2)-x*sinh(x)**(1/2),x)

[Out]

-Integral(-x/sinh(x)**(3/2), x) - Integral(x*sqrt(sinh(x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sinh(x)^(3/2)-x*sinh(x)^(1/2),x, algorithm="giac")

[Out]

integrate(-x*sqrt(sinh(x)) + x/sinh(x)^(3/2), x)

________________________________________________________________________________________

Mupad [B]
time = 0.17, size = 38, normalized size = 1.90 \begin {gather*} -\frac {2\,\sqrt {\frac {{\mathrm {e}}^x}{2}-\frac {{\mathrm {e}}^{-x}}{2}}\,\left (x-2\,{\mathrm {e}}^{2\,x}+x\,{\mathrm {e}}^{2\,x}+2\right )}{{\mathrm {e}}^{2\,x}-1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/sinh(x)^(3/2) - x*sinh(x)^(1/2),x)

[Out]

-(2*(exp(x)/2 - exp(-x)/2)^(1/2)*(x - 2*exp(2*x) + x*exp(2*x) + 2))/(exp(2*x) - 1)

________________________________________________________________________________________